﻿@model PageEntity.ModuleDTO
<form id="module_Add_AddForm" method="post">
<table>
    <tr class="TRH30">
        <td class="">
            @Html.LabelFor(m => m.ModuleName)：
        </td>
        <td class="">
            <input name="ModuleName" class="easyui-validatebox" data-options="required:true" />
        </td>
        <td class="">
            @Html.LabelFor(m => m.Href)：
        </td>
        <td class="">
            <input name="Href" class="easyui-validatebox" data-options="required:true" />
        </td>
    </tr>
    <tr class="TRH30">
        <td class="">
            @Html.LabelFor(m => m.iconCls)：
        </td>
        <td class="">
            <input name="iconCls" class="easyui-validatebox" data-options="required:true" />
        </td>
        <td class="">
            @Html.LabelFor(m => m._parentId)：
        </td>
        <td class="">
            <select name="_parentId" id="_parentId" style="width: 139px;">
            </select>
            <img onclick="clearparent();" src="../../easyui/themes/icons/undo.png" alt="清空" style="cursor: pointer;" />
        </td>
    </tr>
    <tr class="TRH30">
        <td class="">
            @Html.LabelFor(m => m.Sort)：
        </td>
        <td class="">
            <input name="Sort" class="easyui-numberspinner" data-options="required:true,min:1"
                value="1" />
        </td>
        <td class="">
        </td>
        <td class="">
        </td>
    </tr>
    <tr>
        <td valign="top" class="">
            备注：
        </td>
        <td colspan="3">
            <textarea style="width: 342px"></textarea>
        </td>
    </tr>
</table>
</form>
<script language="javascript" type="text/javascript">
    function clearparent() {
        $("#_parentId").combotree("clear");
    }
</script>
